import request from '@/utils/request';

export async function getNotifyTemplateInfoByPage (params: any) {
    return request('/api/service/getNotifyTemplateInfoByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addNotifyTemplateInfo (params: any) {
    return request('/api/service/addNotifyTemplateInfo', {
    method: 'POST',
    data: params,
  });
}

export async function updateNotifyTemplateInfo (params: any) {
    return request('/api/service/updateNotifyTemplateInfo', {
    method: 'POST',
    data: params,
  });
}

export async function delNotifyTemplateInfo (params: any) {
    return request('/api/service/delNotifyTemplateInfo', {
    method: 'POST',
    data: params,
  });
}


export async function exportNotifyTemplateInfo(params: any) {
    return request('/api/service/exportNotifyTemplateInfo', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getNotifyTemplateInfoByPage, addNotifyTemplateInfo, updateNotifyTemplateInfo, delNotifyTemplateInfo, exportNotifyTemplateInfo }
